<?php
/**
 * 标签添加验证类
 * User: 16
 * Date: 2018/1/25
 */
namespace app\api\validate;

use think\Validate;

class FriendLink extends Validate
{
    protected $rule =   [
        'name'  => 'require',
        'url'   => 'require',
    ];

    protected $message  =   [
        'name.require'     => '链接名不能为空',
        'url.require'      => '链接不能为空',

    ];






}